#ifndef IMAGELOADER_H
#define IMAGELOADER_H
#include <QObject>
#include <QImage>
#include <QColor>

class Imageloader:public QObject
{
        Q_OBJECT
private:
    static Imageloader * imageloader;
    QImage img;
    QImage imgPro;
public:
    static Imageloader * getInstance();
    QImage getImg(QSize *size){
         return img;
    }
    QImage getImg(){
         return img;
    }
    void setImg(QImage i){img=i;}

    QImage getImgPro(){
         return imgPro;
    }
    void setImgPro(QImage i){imgPro=i;}

};

#endif // IMAGELOADER_H
